home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / umich / falcon / programm.ing / falclib2.lzh / ROUTS / CACHE.S next >
Text File  |  1994-08-12  |  760b  |  22 lines

  1. *
  2. * CACHE.S
  3. *
  4. *    Cache equates. You'll need devpac 3 for this one, I think.
  5. *
  6. * ex.    move.l    #ENABLE_CACHE+ENABLE_DATA_CACHE+WRITE_ALLOCATE,d0
  7. *    movec    d0,CACR        ; turns on the caches
  8. *
  9.  
  10.  
  11. ENABLE_CACHE        EQU 1   ; Enable instruction cache
  12. FREEZE_CACHE        EQU 2   ; Freeze instruction cache
  13. CLEAR_INST_CACHE_ENTRY    EQU 4   ; Clear instruction cache entry
  14. CLEAR_INST_CACHE    EQU 8   ; Clear instruction cache
  15. INST_BURST_ENABLE    EQU 16  ; Instruction burst enable
  16. ENABLE_DATA_CACHE    EQU 256 ; Enable data cache
  17. FREEZE_DATA_CACHE    EQU 512 ; Freeze data cache
  18. CLEAR_DATA_CACHE_ENTRY    EQU 1024 ; Clear data cache entry
  19. CLEAR_DATA_CACHE    EQU 2048 ; Clear data cache
  20. DATA_BURST_ENABLE    EQU 4096 ; Instruction burst enable
  21. WRITE_ALLOCATE        EQU 8192 ; Write allocate 
  22.